package io.renren.modules.jsf.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.jsf.dao.JsfTotalMoneyDao;
import io.renren.modules.jsf.entity.JsfTotalMoneyEntity;
import io.renren.modules.jsf.service.JsfTotalMoneyService;


@Service("jsfTotalMoneyService")
public class JsfTotalMoneyServiceImpl extends ServiceImpl<JsfTotalMoneyDao, JsfTotalMoneyEntity> implements JsfTotalMoneyService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<JsfTotalMoneyEntity> page = this.page(
                new Query<JsfTotalMoneyEntity>().getPage(params),
                new QueryWrapper<JsfTotalMoneyEntity>()
        );

        return new PageUtils(page);
    }

}